package com.childmiles.gwt.client.ui;

import com.google.gwt.app.place.Place;

public class StringPlace extends Place {

	private final String place;

	public StringPlace(String place) {
		this.place = place;
	}
	
	@Override
	public boolean equals(Object obj) {
		return obj instanceof StringPlace ? ((StringPlace)obj).place.equals(place) : false;
	}

	@Override
	public int hashCode() {
		return place.hashCode();
	}
}
